
<include file="Public/ace_header" />
<div class="row">
    <div class="col-xs-12">
        <div class="row hidden-480 search">
            <form id="search-form">
                <div class="col-md-3 search-input-div">
                    <input type="text" class="col-md-12 search-input" name="searchMap[id]" id="id" value="{$_GET[searchMap][id]}" placeholder="ID"/>
                </div>
                <div class="col-md-3 search-input-div">
                    <input type="text" class="col-md-12 search-input" name="searchMap[username]" id="username" value="{$_GET[searchMap][username]}" placeholder="用户名"/>
                </div>
                <div class="col-md-3 search-input-div">
                    <select name="searchMap[type]" id="type" class="width-100 search-select">
                        <option value="" class="search-select-default-option">类型</option>
                        <option value="用户" <if condition ="$_GET[searchMap][type] eq '用户'"> selected </if>>用户</option>
                        <option value="商家" <if condition ="$_GET[searchMap][type] eq '商家'"> selected </if>>商家</option>
                        <option value="导游" <if condition ="$_GET[searchMap][type] eq '导游'"> selected </if>>导游</option>
                        <option value="旅社" <if condition ="$_GET[searchMap][type] eq '旅社'"> selected </if>>旅社</option>
                        <option value="管理员" <if condition ="$_GET[searchMap][type] eq '管理员'"> selected </if>>管理员</option>
                    </select>
                </div>
                <div class="col-md-3 search-input-div">
                    <input type="text" class="col-md-12 search-input" name="searchMap[name]" id="name" value="{$_GET[searchMap][name]}" placeholder="姓名"/>
                </div>
                <div class="col-md-3 col-md-offset-9 center search-input-div">
                    <button type="submit" class="btn btn-success btn-xs">查询</button>
                    <button class="btn btn-warning btn-xs" type="button" href="#" onclick="clearFind()">清空</button>
                </div>
            </form>
        </div>
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover">
                <thead>
                    <tr>
                        <th class="center">
                            <label>
                                <input type="checkbox" class="ace" id="checkall"/>
                                <span class="lbl"></span>
                            </label>
                        </th>
                    <th >ID</th>
                    <th >用户名</th>
                    <th >密码</th>
                    <th >类型</th>
                    <th >qq唯一编码</th>
                    <th >微信唯一编码</th>
                    <th >微博唯一编码</th>
                    <th >姓名</th>
                    <th >头像</th>
                    <th >所在地</th>
                    <th >身份证号</th>
                    <th >生日</th>
                    <th >邮箱</th>
                    <th >余额</th>
                    <th >银行</th>
                    <th >银行卡号</th>
                    <th >状态</th>
                    <th >注册时间</th>
                    <th >更新时间</th>
                        <th class="center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <volist name="list" id="vo">
                    <tr>
                        <td class="center">
                            <label>
                                <input type="checkbox" class="ace" name="chkid" value="{$vo['id']}"/>
                                <span class="lbl"></span>
                            </label>
                        </td>
                        <td >{$vo[id]}</td>
                        <td >{$vo[username]}</td>
                        <td >{$vo[password]}</td>
                        <td >{$vo[type]}</td>
                        <td >{$vo[qq_key]}</td>
                        <td >{$vo[wechat_key]}</td>
                        <td >{$vo[weibo_key]}</td>
                        <td >{$vo[name]}</td><td class="center"><img src="__PUBLIC__/file/{$vo[photo]}" width="50" height="50"/></td>
                        <td >{$vo[location]}</td>
                        <td >{$vo[id_number]}</td>
                        <td ><if condition="$vo[birthday] neq 0">{$vo[birthday]|default=''|date="Y-m-d",###}</if></td>
                        <td >{$vo[email]}</td>
                        <td >{$vo[balance]}</td>
                        <td >{$vo[bank]}</td>
                        <td >{$vo[card_no]}</td>
                        <td >{$vo[state]}</td>
                        <td ><if condition="$vo[create_time] neq 0">{$vo[create_time]|default=''|date="Y-m-d H:i:s",###}</if></td>
                        <td ><if condition="$vo[update_time] neq 0">{$vo[update_time]|default=''|date="Y-m-d H:i:s",###}</if></td>
                            <td class="center">
                                <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
                                    <a href="{:U(detail, ['id'=>$vo['id']])}">
                                        <button class="btn btn-xs btn-warning" style="border: 1px;">
                                            <i class="icon-search" style="margin-right: 0px;"></i>
                                        </button>
                                    </a>
                                    <a href="{:U(update, ['id'=>$vo['id']])}">
                                        <button class="btn btn-xs btn-info" style="border: 1px;">
                                            <i class="icon-edit" style="margin-right: 0px;"></i>
                                        </button>
                                    </a>
                                </div>
                                <div class="visible-xs visible-sm hidden-md hidden-lg">
                                    <div class="inline position-relative">
                                        <button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown">
                                            <i class="icon-cog icon-only bigger-110"></i>
                                        </button>
                                        <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
                                            <li>
                                                <a href="{:U(detail, ['id'=>$vo['id']])}" class="tooltip-success" data-rel="tooltip" title="Edit">
                                                    <span class="yellow">
                                                        <i class="icon-search bigger-120"></i>
                                                    </span>
                                                </a>
                                            </li>
                                            <li>
                                                <a href="{:U(update, ['id'=>$vo['id']])}" class="tooltip-success" data-rel="tooltip" title="Edit">
                                                    <span class="green">
                                                        <i class="icon-edit bigger-120"></i>
                                                    </span>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            {$page}
        </div><!-- /.table-responsive -->
    </div><!-- /span -->
</div><!-- /row -->
<include file="Public/ace_footer" />